package com.youlai.boot.modules.resource.converter;

import com.youlai.boot.modules.resource.model.Resource;
import com.youlai.boot.modules.resource.model.ResourceForm;
import com.youlai.boot.modules.resource.model.ResourceVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface ResourceConverter {
    ResourceVO toVO(Resource resource);
    Resource toEntity(ResourceForm form);
} 